package cn.cimoc.mapper;

import cn.cimoc.model.dto.output.CartDTO;
import cn.cimoc.model.po.TCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author LGZ
 * @date 2022/7/16 14:19
 * <p>
 */
@Repository
public interface CartMapper extends BaseMapper<TCart> {
    CartDTO[] getCartList(@Param("uid") long uid);

    CartDTO[] getCartByCid(@Param("cids") Long[] cids);
}
